package com.sk.ccflower.lib.define;

public class Consts {
	
	/**
	 * 시스템 환경
	 */
	public static final String CCFLOWER_SVR_HOME 		= "CCFLOWER_SVR_HOME";
	
	public static final String CCFLOWER_BIN				= "bin";		// ~/bin
	public static final String CCFLOWER_CFG				= "cfg"; 		// ~/cfg
	public static final String CCFLOWER_CFG_CONFIG		= "config"; 	// ~/cfg/config
	public static final String CCFLOWER_CFG_LOG4J		= "log4j"; 		// ~/cfg/log4j
	public static final String CCFLOWER_CFG_LOG4J_RUN	= "run"; 		// ~/cfg/log4j/run
	public static final String CCFLOWER_CFG_PROC		= "proc"; 		// ~/cfg/proc
	public static final String CCFLOWER_CFG_XMLRPC		= "xmlrpc"; 	// ~/cfg/xmlrpc
	public static final String CCFLOWER_LOG				= "log";  		// ~/log
	public static final String CCFLOWER_DATA			= "data";  		// ~/data
	
	public static final int UP = 1;
	public static final int DOWN = 0;
	
	public static final int STOP = 0;
	public static final int START = 1;
	public static final int RESTART = 2;
	
	public static final String DATE_FT_DT = "yyyyMMddHHmmss";
	public static final String DATE_FT_YMD = "yyyyMMdd";
	public static final String DATE_FT_HMS = "HHmmss";
	
	
	/**
	 * DB 환경
	 */
	public static final String JDBC_CLASS_NAME = "org.gjt.mm.mysql.Driver";
	public static final int DB_BATCH_MAX_CNT = 300;

	
	/**
	 * 프로세스 다운 상태 플래그
	 */
   public class PROCESS_STATUS {
	   public static final int DOWN_OPERATOR = 0;
	   public static final int DOWN_SYSTEM = 1;
   }
   
   
   /**
    * 메세지큐 이름 정의
    */
   public class MESSAGE_QUEUE_NAME {
	   public static final String TCP_MANAGER_CLIENTS = "TcpManagerClients";
	   public static final String MESSENGER_FACE_SCORE = "MessengerFaceScore";
	   public static final String MESSENGER_CHAT = "MessengerChat";
	   public static final String MATCHING = "Matching";
	   public static final String THUMBNAIL = "Thumbnail";
   }
   
   
   /**
    * 사진 종류 정의 
    */
   public class PHOTO_TYPE {
	  public static final String EYE = "eye";
	  public static final String NOSE = "nose";
	  public static final String MOUTH = "mouth";
	  public static final String FACE = "face";
	  public static final String EXTEND = "extend";
	  public static final String PROFILE = "profile";
   }
   
   
   /**
    * 스마트폰 종류 정의
    */
   public class PHONE_TYPE {
	   public static final int ANDROID = 1;
	   public static final int IPHONE = 2;
	   public static final int WIN_MOBILE = 3;
   }
   
   
   /**
    * 성별
    */
   public class SEX {
	   public static final int WOMAN = 0;
	   public static final int MAN = 1;
   }
   
}
